package cur.nature.webservice.ws;

import jakarta.jws.WebService;
import lombok.extern.slf4j.Slf4j;

@WebService(serviceName = "UserService2", // 与接口中@WebService指定的name一致
        targetNamespace = "http://service.webservice.cqw.org2", // 与接口中的命名空间一致,一般是接口的包名倒序
        endpointInterface = "cur.nature.webservice.ws.UserService2"// 接口地址
)
@Slf4j
public class UserServiceImpl2 implements UserService2 {

    public String testWebService() {
        System.out.println("我被调用了");
        return "Hello";
    }

}

